##################################################################################
#                                                                                #
#     Replication Data for: Beyond Surveys: Leveraging Real-World Events         #
#             to Validate Behavioral Measures of News Exposure                   #
#                                                                                # 
##################################################################################



This repository contains all the datasets, codebooks and scripts corresponding to: 

Cardenal, Ana S.; Terren, Ludovic; Hopmann, David Nicolas; Majó-Vázquez, Sílvia; van aelst, peter; Zoizner, Alon, 2025, "Replication Data for: Beyond Surveys: Leveraging Real-World Events to Validate Behavioral Measures of News Exposure", https://doi.org/10.7910/DVN/NGWUB7, Harvard Dataverse

Please use this citation when using the data and files included in this repository. 

#####################
#       DATA        #
#####################

Merged surveys wave 1 and wave 2 merged in 

DE_surveys_comb.csv
ES_surveys_comb.csv
FR_surveys_comb.csv
UK_surveys_comb.csv
US_surveys_comb.csv

Pre-processed and anonymized browsing tracking data is included in: 

wp3_long.csv
wp3_wide.csv

Both datasets were pre-processed as part of the larger EU project https://threatpie.eu/ and the detailed instructions for reproducing this datasets are included in: 

https://github.com/databrew/threatpie.git 


The specific dataset used for the analysis is: 

fdata 

This dataset was generated specifically for this paper and the code is included in script 01_Preprocessing_&_analysis 


##########################
#      Code Books        #
##########################


Codebooks for surveys wave 1: 

Germany - DE_Codebook_1.xlsx
Spain - ES_Codebook_1.xlsx
France - FR_Codebook_1.xlsx
UK - UK_Codebook_1.xlsx
US - US_Codebook_1.xlsx

Codebooks for surveys Wave 2

Germany - DE_Codebook_2.xlsx
Spain - ES_Codebook_2.xlsx
France - FR_Codebook_2.xlsx
UK - UK_Codebook_2.xlsx
US - US_Codebook_2.xlsx


##########################
#        Scripts         #
##########################


01_Data Processing and Analysis_5-analysis.R
02_Webtracking_Data_Descriptives_Rev.R
03_Mobile_granularity_Rev.R
04_Sample and Weigths.R
05_Factor_analysis.R
06_Descriptives.R
07_Weigth_analysis.R
